package com.dstz.demo.core.manager.impl;

import com.dstz.base.manager.impl.BaseManager;
import com.dstz.demo.core.dao.AclParameterDao;
import com.dstz.demo.core.manager.AclParameterManager;
import com.dstz.demo.core.model.AclParameter;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

@Service("AclParameterManager")
public class AclParameterManagerImpl extends BaseManager<String,AclParameter> implements AclParameterManager {
    @Resource
    AclParameterDao aclParameterDao;
    @Override
    public List<AclParameter> lists(String materielid, String standard) {
        Map<String,Object> map=new HashMap<>();
        map.put("materielid",materielid);
        map.put("standard",standard);
        return aclParameterDao.lists(map);
    }
}
